package priv.mill.autoScan;
import org.apache.log4j.Logger;
import org.springframework.beans.factory.annotation.Autowired;
import org.springframework.stereotype.Component;


@Component
public class XinShiJie implements ZhongJie {

	private static final Logger logger = Logger.getLogger(XinShiJie.class);
	
//	@Autowired
//	@Qualifier("hengDaYeZh")
	private YeZhu yeZhu;

	
	public XinShiJie() {
	}
	
//	@Autowired
	
	public XinShiJie(YeZhu hengDaYeZhu) {
		this.yeZhu=hengDaYeZhu;
	}

	
	@Autowired
	public void setHengDaYeZhu(YeZhu hengDaYeZhu) {
		this.yeZhu = hengDaYeZhu;
	}

	public void saleHouse() {
		logger.debug("�����������ǵ�ְҵ!");
		yeZhu.saleHouse();
	}
}
